﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Test.SysConsole.设计模式.AbstractFactory
{
    /// <summary>
    /// 001工厂
    /// </summary>
    public class _001Factory : ProductFactory
    {
        public override IAbstractFactoryA factoryA()
        {
            return new ProductA();
        }

        public override IAbstractFactoryB factoryB()
        {
            return new ProductB();
        }
    }
}
